
package com.foreveross.bsl.mam.model.device.domain;


import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.foreveross.bsl.mongodb.domain.Entity;



/**
 * 
 * 设备管理实体
 * @author tanzhixiong
 * @2013-7-8 @下午6:45:54
 */
@Document
public class Device extends Entity{
	
	@Id
	private String id;
	
	
	/**
	 * 设备信息id
	 */
	private String DeviceCheckinID;
	
	/**
	 * 设备状态
	 */
	@Field("deviceState")
	private String deviceState;
	
	
	/**
	 * 设备密码
	 */
	@Field("devicePass")
	private int devicePass;
	
	/**
	 *密码错误的次数 
	 */
	@Field("passErrorTimes")
	private int passErrorTimes;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public String getDeviceState() {
		return deviceState;
	}

	public void setDeviceState(String deviceState) {
		this.deviceState = deviceState;
	}

	public int getDevicePass() {
		return devicePass;
	}

	public void setDevicePass(int devicePass) {
		this.devicePass = devicePass;
	}

	public int getPassErrorTimes() {
		return passErrorTimes;
	}

	public void setPassErrorTimes(int passErrorTimes) {
		this.passErrorTimes = passErrorTimes;
	}


	public String getDeviceCheckinID() {
		return DeviceCheckinID;
	}

	public void setDeviceCheckinID(String deviceCheckinID) {
		DeviceCheckinID = deviceCheckinID;
	}

	
}